package com.foreknow.demo3;

/**
 * @author shkstart
 * @create 2021-07-26 13:09
 */
public class Bird {
    String name;
    String color;

    public void  eat(){
        System.out.println(this.name +"可以吃东西.....");
    }

    @Override
    public String toString() {
        return "Bird{" +
                "name='" + name + '\'' +
                ", color='" + color + '\'' +
                '}';
    }
}
